package com.zzh.sqllib.bean;

import com.alibaba.fastjson.JSON;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.NotNull;

@Entity
public class ActionBean {

    @Id(autoincrement = true)
    private Long Id;
    @NotNull
    private int Id_Local = 0;
    @NotNull
    private long UserId;
    @NotNull
    private int Mid = 0; // '模版Id: 999 读书',
    private int Type = 0; // '类型: 0、行动；1、分组;88 从本地日历同步到行动;3 挑战',
    private int SeqType = 0; // '顺序',
    @NotNull
    private int Fid; // '上级Id',
    @NotNull
    private int Fid_Local = 0; // '本地上级Id',
    @NotNull
    private int Flag = 0; // '旗标',
    @NotNull
    private int FolderId = 0; // '文件夹Id',
    @NotNull
    private int FolderId_Local = 0; // '本地文件夹Id',
    @NotNull
    private int ProjectId = 0; // '分组Id',
    @NotNull
    private int ProjectId_Local = 0; // '本地分组Id',
    @NotNull
    private int ContextId = 0; // '情境Id',
    @NotNull
    private int ContextId_Local = 0; // '本地情境Id',
    @NotNull
    private int EntrustId = 0; // '委托的用户Id',
    @NotNull
    private int EntrustId_Local = 0; // '委托的用户本地Id（新版取消使用）',
    @NotNull
    private int PerspectiveId = 0; // '所属透视Id（不设Local值，不允许本地离线创建）（New）',
    @NotNull
    private int CalId = 0; // '日历Id',
    @NotNull
    private int FromAction = 0; // '委托的用户Id（新版取消使用）',
    private String Name; // '行动内容',
    private String Description; // '行动描述',
    @NotNull
    private int Pic_Flag = 0; // '图片标识',
    @NotNull
    private int Status = 0; // '状态：0 2 都是活跃; 1 未处理 在收集箱; 3 暂停；4 丢弃; 5 将来某天 ;9 完成',
    @NotNull
    private long StartTime = 0; // '开始时间',
    private int LunarFlag = 0; // '农历标识：1 农历',
    @NotNull
    private long DueTime = 0; // '截至时间',
    @NotNull
    private long DurationTime; // '持续时间',
    private String Cycle; // '重复',
    @NotNull
    private String RRULE; // '重复规则',
    private int Repeat_every = 0; // '重复规则：按日／周／月／年重复',
    private String Repeat_week; // '重复规则：每周／月几重复',
    @NotNull
    private long Repeat_Duetime = 0; // '重复规则：截至到何时',
    @NotNull
    private int Repeat_num = -1; // '重复规则：次数',
    @NotNull
    private int AutoClear = 0; // '行动到期是否自动清理',
    @NotNull
    private int Repeat_from = 0; // '重复规则：何种方式',
    @NotNull
    private int RepFid = 0; // '重复：记录重复母行动Id',
    @NotNull
    private int Flag_Cal = 0; // '日历表示',
    private float LocationX = 0.0f; // '地点坐标X（New）',
    private float LocationY = 0.0f; // '地点坐标Y（New）',
    @NotNull
    private long UpdateTime = 0; // '最后更新时间',
    @NotNull
    private long Review = 0; // '回顾',
    @NotNull
    private long CompleteTime = 0; // '完成时间',
    @NotNull
    private long CreateTime = 0; // '创建时间',
    private int Remind = 0; // '是否为提醒',
    private long RemindTime = 0; // '提醒时间',
    @NotNull
    private int Seq = 0; // '分组内排序id',
    private int ifAuto = 0; // '分组下行动完成自动完成本分组',
    @NotNull
    private int Cflag = 0;
    @NotNull
    private int FcFlag = 0; // '是否已经分词',
    private String Name_Seg; // '分词内容',,
    @NotNull
    private int Weather_City = 0; // '关联天气的城市Id',
    @NotNull
    private int BookId = 0; // '阅读关联书的Id',
    @NotNull
    private int Tomato = 0; // '番茄钟'
    @Generated(hash = 1999686681)
    public ActionBean(Long Id, int Id_Local, long UserId, int Mid, int Type,
            int SeqType, int Fid, int Fid_Local, int Flag, int FolderId,
            int FolderId_Local, int ProjectId, int ProjectId_Local, int ContextId,
            int ContextId_Local, int EntrustId, int EntrustId_Local,
            int PerspectiveId, int CalId, int FromAction, String Name,
            String Description, int Pic_Flag, int Status, long StartTime,
            int LunarFlag, long DueTime, long DurationTime, String Cycle,
            @NotNull String RRULE, int Repeat_every, String Repeat_week,
            long Repeat_Duetime, int Repeat_num, int AutoClear, int Repeat_from,
            int RepFid, int Flag_Cal, float LocationX, float LocationY,
            long UpdateTime, long Review, long CompleteTime, long CreateTime,
            int Remind, long RemindTime, int Seq, int ifAuto, int Cflag, int FcFlag,
            String Name_Seg, int Weather_City, int BookId, int Tomato) {
        this.Id = Id;
        this.Id_Local = Id_Local;
        this.UserId = UserId;
        this.Mid = Mid;
        this.Type = Type;
        this.SeqType = SeqType;
        this.Fid = Fid;
        this.Fid_Local = Fid_Local;
        this.Flag = Flag;
        this.FolderId = FolderId;
        this.FolderId_Local = FolderId_Local;
        this.ProjectId = ProjectId;
        this.ProjectId_Local = ProjectId_Local;
        this.ContextId = ContextId;
        this.ContextId_Local = ContextId_Local;
        this.EntrustId = EntrustId;
        this.EntrustId_Local = EntrustId_Local;
        this.PerspectiveId = PerspectiveId;
        this.CalId = CalId;
        this.FromAction = FromAction;
        this.Name = Name;
        this.Description = Description;
        this.Pic_Flag = Pic_Flag;
        this.Status = Status;
        this.StartTime = StartTime;
        this.LunarFlag = LunarFlag;
        this.DueTime = DueTime;
        this.DurationTime = DurationTime;
        this.Cycle = Cycle;
        this.RRULE = RRULE;
        this.Repeat_every = Repeat_every;
        this.Repeat_week = Repeat_week;
        this.Repeat_Duetime = Repeat_Duetime;
        this.Repeat_num = Repeat_num;
        this.AutoClear = AutoClear;
        this.Repeat_from = Repeat_from;
        this.RepFid = RepFid;
        this.Flag_Cal = Flag_Cal;
        this.LocationX = LocationX;
        this.LocationY = LocationY;
        this.UpdateTime = UpdateTime;
        this.Review = Review;
        this.CompleteTime = CompleteTime;
        this.CreateTime = CreateTime;
        this.Remind = Remind;
        this.RemindTime = RemindTime;
        this.Seq = Seq;
        this.ifAuto = ifAuto;
        this.Cflag = Cflag;
        this.FcFlag = FcFlag;
        this.Name_Seg = Name_Seg;
        this.Weather_City = Weather_City;
        this.BookId = BookId;
        this.Tomato = Tomato;
    }
    @Generated(hash = 649937523)
    public ActionBean() {
    }
    public Long getId() {
        return this.Id;
    }
    public void setId(Long Id) {
        this.Id = Id;
    }
    public int getId_Local() {
        return this.Id_Local;
    }
    public void setId_Local(int Id_Local) {
        this.Id_Local = Id_Local;
    }
    public long getUserId() {
        return this.UserId;
    }
    public void setUserId(long UserId) {
        this.UserId = UserId;
    }
    public int getMid() {
        return this.Mid;
    }
    public void setMid(int Mid) {
        this.Mid = Mid;
    }
    public int getType() {
        return this.Type;
    }
    public void setType(int Type) {
        this.Type = Type;
    }
    public int getSeqType() {
        return this.SeqType;
    }
    public void setSeqType(int SeqType) {
        this.SeqType = SeqType;
    }
    public int getFid() {
        return this.Fid;
    }
    public void setFid(int Fid) {
        this.Fid = Fid;
    }
    public int getFid_Local() {
        return this.Fid_Local;
    }
    public void setFid_Local(int Fid_Local) {
        this.Fid_Local = Fid_Local;
    }
    public int getFlag() {
        return this.Flag;
    }
    public void setFlag(int Flag) {
        this.Flag = Flag;
    }
    public int getFolderId() {
        return this.FolderId;
    }
    public void setFolderId(int FolderId) {
        this.FolderId = FolderId;
    }
    public int getFolderId_Local() {
        return this.FolderId_Local;
    }
    public void setFolderId_Local(int FolderId_Local) {
        this.FolderId_Local = FolderId_Local;
    }
    public int getProjectId() {
        return this.ProjectId;
    }
    public void setProjectId(int ProjectId) {
        this.ProjectId = ProjectId;
    }
    public int getProjectId_Local() {
        return this.ProjectId_Local;
    }
    public void setProjectId_Local(int ProjectId_Local) {
        this.ProjectId_Local = ProjectId_Local;
    }
    public int getContextId() {
        return this.ContextId;
    }
    public void setContextId(int ContextId) {
        this.ContextId = ContextId;
    }
    public int getContextId_Local() {
        return this.ContextId_Local;
    }
    public void setContextId_Local(int ContextId_Local) {
        this.ContextId_Local = ContextId_Local;
    }
    public int getEntrustId() {
        return this.EntrustId;
    }
    public void setEntrustId(int EntrustId) {
        this.EntrustId = EntrustId;
    }
    public int getEntrustId_Local() {
        return this.EntrustId_Local;
    }
    public void setEntrustId_Local(int EntrustId_Local) {
        this.EntrustId_Local = EntrustId_Local;
    }
    public int getPerspectiveId() {
        return this.PerspectiveId;
    }
    public void setPerspectiveId(int PerspectiveId) {
        this.PerspectiveId = PerspectiveId;
    }
    public int getCalId() {
        return this.CalId;
    }
    public void setCalId(int CalId) {
        this.CalId = CalId;
    }
    public int getFromAction() {
        return this.FromAction;
    }
    public void setFromAction(int FromAction) {
        this.FromAction = FromAction;
    }
    public String getName() {
        return this.Name;
    }
    public void setName(String Name) {
        this.Name = Name;
    }
    public String getDescription() {
        return this.Description;
    }
    public void setDescription(String Description) {
        this.Description = Description;
    }
    public int getPic_Flag() {
        return this.Pic_Flag;
    }
    public void setPic_Flag(int Pic_Flag) {
        this.Pic_Flag = Pic_Flag;
    }
    public int getStatus() {
        return this.Status;
    }
    public void setStatus(int Status) {
        this.Status = Status;
    }
    public long getStartTime() {
        return this.StartTime;
    }
    public void setStartTime(long StartTime) {
        this.StartTime = StartTime;
    }
    public int getLunarFlag() {
        return this.LunarFlag;
    }
    public void setLunarFlag(int LunarFlag) {
        this.LunarFlag = LunarFlag;
    }
    public long getDueTime() {
        return this.DueTime;
    }
    public void setDueTime(long DueTime) {
        this.DueTime = DueTime;
    }
    public long getDurationTime() {
        return this.DurationTime;
    }
    public void setDurationTime(long DurationTime) {
        this.DurationTime = DurationTime;
    }
    public String getCycle() {
        return this.Cycle;
    }
    public void setCycle(String Cycle) {
        this.Cycle = Cycle;
    }
    public String getRRULE() {
        return this.RRULE;
    }
    public void setRRULE(String RRULE) {
        this.RRULE = RRULE;
    }
    public int getRepeat_every() {
        return this.Repeat_every;
    }
    public void setRepeat_every(int Repeat_every) {
        this.Repeat_every = Repeat_every;
    }
    public String getRepeat_week() {
        return this.Repeat_week;
    }
    public void setRepeat_week(String Repeat_week) {
        this.Repeat_week = Repeat_week;
    }
    public long getRepeat_Duetime() {
        return this.Repeat_Duetime;
    }
    public void setRepeat_Duetime(long Repeat_Duetime) {
        this.Repeat_Duetime = Repeat_Duetime;
    }
    public int getRepeat_num() {
        return this.Repeat_num;
    }
    public void setRepeat_num(int Repeat_num) {
        this.Repeat_num = Repeat_num;
    }
    public int getAutoClear() {
        return this.AutoClear;
    }
    public void setAutoClear(int AutoClear) {
        this.AutoClear = AutoClear;
    }
    public int getRepeat_from() {
        return this.Repeat_from;
    }
    public void setRepeat_from(int Repeat_from) {
        this.Repeat_from = Repeat_from;
    }
    public int getRepFid() {
        return this.RepFid;
    }
    public void setRepFid(int RepFid) {
        this.RepFid = RepFid;
    }
    public int getFlag_Cal() {
        return this.Flag_Cal;
    }
    public void setFlag_Cal(int Flag_Cal) {
        this.Flag_Cal = Flag_Cal;
    }
    public float getLocationX() {
        return this.LocationX;
    }
    public void setLocationX(float LocationX) {
        this.LocationX = LocationX;
    }
    public float getLocationY() {
        return this.LocationY;
    }
    public void setLocationY(float LocationY) {
        this.LocationY = LocationY;
    }
    public long getUpdateTime() {
        return this.UpdateTime;
    }
    public void setUpdateTime(long UpdateTime) {
        this.UpdateTime = UpdateTime;
    }
    public long getReview() {
        return this.Review;
    }
    public void setReview(long Review) {
        this.Review = Review;
    }
    public long getCompleteTime() {
        return this.CompleteTime;
    }
    public void setCompleteTime(long CompleteTime) {
        this.CompleteTime = CompleteTime;
    }
    public long getCreateTime() {
        return this.CreateTime;
    }
    public void setCreateTime(long CreateTime) {
        this.CreateTime = CreateTime;
    }
    public int getRemind() {
        return this.Remind;
    }
    public void setRemind(int Remind) {
        this.Remind = Remind;
    }
    public long getRemindTime() {
        return this.RemindTime;
    }
    public void setRemindTime(long RemindTime) {
        this.RemindTime = RemindTime;
    }
    public int getSeq() {
        return this.Seq;
    }
    public void setSeq(int Seq) {
        this.Seq = Seq;
    }
    public int getIfAuto() {
        return this.ifAuto;
    }
    public void setIfAuto(int ifAuto) {
        this.ifAuto = ifAuto;
    }
    public int getCflag() {
        return this.Cflag;
    }
    public void setCflag(int Cflag) {
        this.Cflag = Cflag;
    }
    public int getFcFlag() {
        return this.FcFlag;
    }
    public void setFcFlag(int FcFlag) {
        this.FcFlag = FcFlag;
    }
    public String getName_Seg() {
        return this.Name_Seg;
    }
    public void setName_Seg(String Name_Seg) {
        this.Name_Seg = Name_Seg;
    }
    public int getWeather_City() {
        return this.Weather_City;
    }
    public void setWeather_City(int Weather_City) {
        this.Weather_City = Weather_City;
    }
    public int getBookId() {
        return this.BookId;
    }
    public void setBookId(int BookId) {
        this.BookId = BookId;
    }
    public int getTomato() {
        return this.Tomato;
    }
    public void setTomato(int Tomato) {
        this.Tomato = Tomato;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
